<!DOCTYPE html>
<html lang="zh-cmn-Hans">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
		<title>鹿程智慧油站商户平台</title>
		<meta name="description" content="鹿程科技是提供加油站互联网化零管系统、营销及支付和大数据分析运营服务的行业领先科技公司。鹿程科技充分了解加油站行业的需求和新兴互联网的发展,依靠业内最先进的科技和标准化的运营,持续帮助油站业务发展创造价值。"/>
		<meta name="keywords" content="智慧油站,鹿程,鹿程智慧油站,鹿程智慧油站微信支付,加油站微信支付,加油站营销管理"/>
		<link rel="icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link rel="shortcut icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
		<link rel="stylesheet" href="../layui/css/layui.css" />
		<link rel="stylesheet" href="../css/style.css" />
	</head>
<body>
	<section class="section-right">
		<!--deer-tit-->
		<div class="deer-tit">
			<h3>会员分析</h3>
			<h4>消费构成分析</h4>
		</div>
		<!--/deer-tit-->
		<!--deer-content-->
		<div class="deer-content">
			<!--===-->
			<div class="biz-member-filter">
				<dl>
					<span>时间维度</span>
					<a href="" data-type="1" class="active">30天</a>
					<a href="" data-type="1" class="">自然月</a>
					<i class="fa fa-question-circle fa-2x"></i>
				</dl>
				<dl>
					<span>时间范围</span>
					<a href="" data-type="1" class="active">昨天</a>
					<a href="" data-type="1" class="">最近八天</a>
					<a href="" data-type="1" class="">最近30天</a>
					<a href="" data-type="1" class="">2017-08-04至2017-09-11</a>
					<i class="fa fa-question-circle fa-2x"></i>
				</dl>
			</div>
			<!--===-->
			<div class="biz-tubiao">
				<div class="echarts_box" id="main1"></div>
			</div>
			<!--===-->
			<table class="layui-table" lay-even>
		       	<thead>
				    <tr>
				        <th colspan="8" style="text-align: left;"> 消费构成分析：08月08日-09月06日</th>
				    </tr>
				    <tr>
				        <th>会员描述</th>
				        <th>历时人数（人）</th>
				        <th>消费人数（人）</th>
				        <th>消费人数占比</th>
				        <th>销量（升）</th>
				        <th>日均消费（升）</th>
				        <th>消费量占比</th>
				        <th>人均消费（升）</th>
				    </tr>
				</thead>
				<tbody>
		       		<tr>
						<td scope="row">新会员</td>
						<td>······</td>
						<td>1325</td>
						<td>52.23%</td>
						<td>258441</td>
				 		<td>1651.12</td>
						<td>2.15%</td>
				    	<td>25.11</td>
		       		</tr>
		       		<tr>
		       			<td scope="row">新会员</td>
				   		<td>······</td>
				  		<td>1325</td>
				     	<td>52.23%</td>
						<td>258441</td>
				 		<td>1651.12</td>
				  		<td>2.15%</td>
				  		<td>25.11</td>
					</tr>
		       	</tbody>
		    </table>
		</div>
		<!--/deer-content-->
	</section>
	<!--js-->
		<aside>
			<script type="text/javascript" src="../layui/layui.js" ></script>
			<script type="text/javascript" src="../js/echarts.min.js" ></script>
			<script type="text/javascript">
				layui.use(['jquery'],function(){
					
					var $=layui.jquery;	
				
					$('.biz-member-filter a').bind('click',function(){
				    	$(this).addClass('active').siblings().removeClass('active')
				    	return false
			    	})
				})				
				// 基于准备好的dom，初始化echarts实例
		        var myChart = echarts.init(document.getElementById('main1'));

        		// 指定图表的配置项和数据
		        var option = {
		            title : {
		                text: '',
		                subtext: '',
		                x:'center'
		            },
		            legend: {
		                align: 'left',
		                // left: 10,
		                data:['睡眠会员','留存会员','新增会员']
		            },
		            series : [
		                {
		                    name: '访问来源',
		                    type: 'pie',
		                    radius: ['36%', '55%'],
		                    center: ['50%', '52%'],
		                    data:[
		                        {value:234, name:'睡眠会员'},
		                        {value:135, name:'留存会员'},
		                        {value:548, name:'新增会员'}
		                    ]
		                }
		            ]
		        };
		        // 使用刚指定的配置项和数据显示图表。
		        myChart.setOption(option);
		</script>
	</aside>
	<!--/js-->
</body>
</html>
